<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Title</title>
    <style type="text/css">
        .l{

            align-content: center;
            width: 300px;
            height: 200px;
            margin-top: 250px;
            margin-left: 600px;
            margin-right: 500px;
        }
    </style>
</head>
<body style="background: url(/images/1.jpg)">
<div class="l">
    <form action="login" method="post">
        账号:<input type="text" autocomplete="off" name="name"/><br/>
        <br/>
        密码:<input type="password"  autocomplete="off" name="password"/><br/>
        <br/>
        <input type="submit" value="登录"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="reset" value="重置"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="reg">注册</a>
    </form>
</div>
</body>
</html>